#pragma once
/*
*
*
*/
/**
* @file KeyFrame.h
* @brief KeyFrame
* @date 1/2/2011
* @author Jing HUANG
*/
#include <string>
#include <map>
#include "Frame.h"

namespace Etoile
{
	class KeyFrame : Frame
	{
	public:
		KeyFrame(double time) : Frame(), _time(time)
		{
		}

		KeyFrame() : Frame(), _time(0)
		{
		}

		void setTime(double time)
		{
			_time = time;
		}

		double getTime()
		{
			return _time;
		}

	protected:
		double _time;
	};

	typedef std::vector<KeyFrame*> KeyFrames;
}
